package com.itheima.restkeeper.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.itheima.restkeeper.basic.BasicPojo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.EqualsAndHashCode;

/**
 * @Description：
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("tab_apicert")
@ApiModel(value="Apicert对象", description="")
public class Apicert extends BasicPojo {

    private static final long serialVersionUID = 1L;

    @Builder
    public Apicert(Long id,Integer certType,String enableStatus,Long storeId,Long enterpriseId){
        super(id);
        this.certType=certType;
        this.enableStatus=enableStatus;
        this.storeId=storeId;
        this.enterpriseId=enterpriseId;
    }

    @ApiModelProperty(value = "证书类型 ")
    private Integer certType;

    @ApiModelProperty(value = "过期状态： YES未过期， NO已过期")
    private String enableStatus;

    @ApiModelProperty(value = "企业门店号")
    private Long storeId;

    @ApiModelProperty(value = "企业商户号【餐掌柜服务使用】")
    private Long enterpriseId;


}
